package com.ruoyi.project.module.category.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 商品类目表 sys_category
 * 
 * @author ruoyi
 * @date 2018-08-06
 */
public class Category extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer categoryId;
	/**  */
	private String categoryName;
	/**  */
	private Integer categoryState;
	/**  */
	private String categoryHref;
	/**  */
	private Integer maxpage;
	/**  */
	private Date updateTime;
	/**  */
	private Date createTime;

	public void setCategoryId(Integer categoryId) 
	{
		this.categoryId = categoryId;
	}

	public Integer getCategoryId() 
	{
		return categoryId;
	}
	public void setCategoryName(String categoryName) 
	{
		this.categoryName = categoryName;
	}

	public String getCategoryName() 
	{
		return categoryName;
	}
	public void setCategoryState(Integer categoryState) 
	{
		this.categoryState = categoryState;
	}

	public Integer getCategoryState() 
	{
		return categoryState;
	}
	public void setCategoryHref(String categoryHref) 
	{
		this.categoryHref = categoryHref;
	}

	public String getCategoryHref() 
	{
		return categoryHref;
	}
	public void setMaxpage(Integer maxpage) 
	{
		this.maxpage = maxpage;
	}

	public Integer getMaxpage() 
	{
		return maxpage;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("categoryState", getCategoryState())
            .append("categoryHref", getCategoryHref())
            .append("maxpage", getMaxpage())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
